html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  font-size: 12px;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

.container {
  min-height: 100vh;
  padding-top: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.logo {
  margin-top: 140px;
  margin-bottom: 38px;
}
.search-input {
  height: 44px;
  position: relative;
  width: 561px;
  margin: 0 auto;
  margin-bottom: 32px;
}
.input {
  background-color: white;
  border: none;
  border-radius: 44px;
  font-size: 16px;
  outline: none;
  padding-inline-end: 40px;
  padding-inline-start: 52px;
  position: relative;
  width: 100%;
  box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
  height: 100%;
}
.search-icon {
  position: absolute;
  top: 0;
  left: 12px;
  height: 100%;
  z-index: 2;
  width: 32px;
  background-repeat: no-repeat;
  background-position: 4px 10px;
}
.mic-icon {
  position: absolute;
  top: 0;
  right: 12px;
  height: 100%;
  z-index: 2;
  width: 32px;
  background-repeat: no-repeat;
  background-position: 4px 10px;
}
.most-visited {
  width: 573px;
  height: 256px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  position: relative;
}
.visited-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  align-items: center;
  border-radius: 4px;
  box-sizing: border-box;
  width: 112px;
  height: 112px;
  margin-bottom: 13px;
  margin-top: 3px;
  padding-top: 16px;
  position: relative;
  text-decoration: none;
  transition-duration: 300ms;
  transition-property: left top;
  transition-timing-function: ease-in-out;
}
.visited-item:hover {
  background-color: rgba(32, 33, 36, .1);
}
.visited-item:hover .more-icon {
  opacity: 1;
}
.more-icon {
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
  transition: opacity 100ms ease-in-out;
  margin: 4px 2px;
}
.item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  background-color: rgba(241, 243, 244, 1);
  justify-content: center;
  border-radius: 50%;
}
.item-icon img {
  width: 24px;
  height: 24px;
}
.item-title {
  height: 24px;
  margin-top: 7px;
  width: 88px;
  font-weight: 400;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: none;
  white-space: nowrap;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: normal;
}

.mask {
  display: none;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  padding: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  background: #00000099;
  display: flex;
  align-items: center;
  z-index: 10000;
}
.mask-body {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.12), 0 16px 16px rgba(0, 0, 0, 0.24);
  margin: auto;
  min-width: 320px;
  width: 512px;
  height: 265px;
  padding: 16px;
  z-index: 10000;
  top: 0;
}
.dialog-title {
  width: 100%;
  color: rgb(32, 33, 36);
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 16px;
}
.form {
  width: 472px;
  height: 126px;
  position: relative;
}
.form-item {
  width: 100%;
  margin-bottom: 16px;
}
.form-item label {
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
  color: rgb(95, 99, 104);
}
.form-item input {
  display: block;
  width: 100%;
  height: 32px;
  line-height: 32px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
  /* padding-inline-end: 8px;
  padding-inline-start: 8px; */
  text-indent: 8px;
  background-color: rgb(241, 243, 244);
  caret-color: rgb(26, 155, 232);
  color: rgb(32, 33, 36);
}
.underline {
  border-bottom: 2px solid rgb(26, 155, 232);
  bottom: 0;
  box-sizing: border-box;
  left: 0;
  margin: auto;
  opacity: 0;
  position: absolute;
  right: 0;
  width: 0;
  transition: opacity 120ms ease-out, width 0ms linear 180ms;
}
.btn-group {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding-top: 24px;
}
.btn {
  width: 58px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border: 1px solid rgb(241, 243, 244);
  color: rgb(128, 134, 139);
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
}
.remove-btn {
  /* align-self: flex-end; */
}
.cancel-btn {
  border-color: rgb(218, 220, 224);
  color: rgb(26, 115, 232);
  margin-right: 20px;
}
.cancel-btn:hover {
  background-color: rgba(32, 33, 36, .05);
}
.primary-btn {
  background-color: rgb(26, 115, 232);
  color: white;
  border: none;
}
.disabled-btn {
  background-color: rgb(241, 243, 244);
  color: rgb(128, 134, 139);
  border: none;
}